package com.dyj.applet.client;

import com.dtflys.forest.annotation.BaseRequest;
import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dyj.applet.domain.query.ImageCensorQuery;
import com.dyj.applet.domain.query.TextAntiDirtQuery;
import com.dyj.applet.domain.vo.ImageCensorVo;
import com.dyj.common.domain.DyResult;
import com.dyj.common.domain.DySimpleResult;
import com.dyj.common.domain.query.DeveloperNotifyQuery;
import com.dyj.common.domain.vo.TextAntiDirtVo;
import com.dyj.common.interceptor.ClientTokenInterceptor;
import com.dyj.common.interceptor.SubscriptionTokenInterceptor;
import com.dyj.common.interceptor.XTokenHeaderInterceptor;

import java.util.List;

/**
 * 触达与营销->订阅消息
 */
@BaseRequest(baseURL = "${domain}")
public interface NotificationSubscriptionClient {

    /**
     * 触达与营销->订阅消息->给用户发送订阅消息
     * @param body 给用户发送订阅消息请求值
     * @return
     */
    @Post(value = "${developerNotify}", interceptor = SubscriptionTokenInterceptor.class)
    DySimpleResult<Void> developerNotify(@JSONBody DeveloperNotifyQuery body);
}
